using System;

namespace MimeCloud.Foundations.ErrorLogging
{
    /// <summary>
    /// Provides static methods designed to help dealing with errors in an application
    /// </summary>
    public class ErrorHelper
    {
        /// <summary>
        /// Logs an error using the Selected Log Provider specified in the Configuration
        /// </summary>
        /// <param name="ex"></param>
        public static void LogError(Exception ex)
        {
            LogError(ex, true);
        }

        /// <summary>
        /// Logs an error
        /// </summary>
        /// <param name="ex"></param>
        public static void LogError(Exception ex, bool HideError)
        {

        }

        /// <summary>
        /// Logs a message
        /// </summary>
        /// <param name="title"></param>
        /// <param name="message"></param>
        public static void LogMessage(string title, string message)
        {

        }
    }
}